home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
lists
/
gem
/
l_1199
/
1050
< prev
next >
Wrap
Internet Message Format
|
1994-08-27
|
902b
Date: Tue, 26 Jul 94 18:16 CDT
From: ekl@sdf.lonestar.org (Evan K. Langlois)
To: gem-list@world.std.com
Subject: Re: Getting right mouse button clicks
Precedence: bulk
========================================================================
Yes - evnt_multi(MU_MESAG+MU_KEYBD+MU_BUTTON+timerflag,258,3,0...)
258 waits for 2 clicks, 259 for 3, etc. Which button was pressed is
returned in the button variable as usual.
========================================================================
You didn't read me code either. That 0 that you have in there means taht
your evnt_multi will return instantly as long as the mouse button is
down. This is kinda bad as you keep getting mouse events. Take another
look at my code, or at least change the 0 to whatever variable you use
to store the output of evnt_multi's button state in. That will cut things
down to 2 events instead of a few thousand.